package com.showgood.config {
	import com.showgood.exceptions.ForbidException;
	/**
	 * 常量, 定义了notification
	 * @author bianpeng
	 */
	public final class SangoConst {
		
		public function SangoConst() {
			throw new ForbidException();
		}
		
		// start up command
		public static const STARTUP:String = 'SC_STARTUP';	// 启动了哇
		
		// socket data recieved
		public static const DATA_RECEIVED:String = 'SC_DATA_RECEIVED';	

		// switch to login window
		public static const SWITCH_GAME_VIEW:String = 'SC_SWITCH_GAME_VIEW';
		// socket 已经好了, 可以login了
		public static const SOCKET_READY_TO_LOGIN:String = 'SC_SOCKET_READY_TO_LOGIN';
		public static const PRELOAD_RESOURCE_DONE:String = 'SC_PRELOAD_RESOURCE_DONE';
		
		// filter city on screen
		public static const FILTER_CITY_ON_SCREEN:String = 'SC_FILTER_CITY_ON_SCREEN';
		public static const SHOW_CITY_ON_SCREEN:String = 'SC_SHOW_CITY_ON_SCREEN';
		public static const SHOW_ARMY_ON_SCREEN:String = 'SC_SHOW_ARMY_ON_SCREEN';
		public static const DISBAND_ARMY:String = 'SC_DISBAND_ARMY';

		//use command on city
		// 目前只有出征, 部署, 计策三个, 以后可能还要加++
		public static const USER_COMMAND_CHUZHENG:String = "SC_USER_COMMAND_CHUZHENG";
		public static const USER_COMMAND_BUSHU:String = "SC_USER_COMMAND_BUSHU";
		public static const USER_COMMAND_JICE:String = "SC_USER_COMMAND_JICE";
		
		// 显示出征对话框, 武将列表
		public static const SHOW_CHUZHENG_MAN_LIST:String = "SC_SHOW_CHUZHENG_MAN_LIST";
		// 查看武将详情
		public static const USER_QUERY_MAN_DETAIL:String = 'SC_QUERY_MAN_DETAIL';
		// 显示出征将领的详情
		public static const SHOW_CHUZHENG_MAN_DETAIL:String = 'SC_SHOW_CHUZHENG_MAN_DETAIL';
		// 不选中武将列表中的任何项
		public static const FREE_MAN_LIST_ITEM:String = 'SC_FREE_MAN_LIST_ITEM';
		// OK, 出征吧
		public static const SELECT_CHUZHENG_TARGET:String = 'SC_SELECT_CHUZHENG_TARGET';
		// 提示文字
		public static const SHOW_HINT:String = 'SC_SHOW_HINT';
		// 添加军队和行军路线
		public static const CREATE_ARMY_AND_PATH:String = 'SC_CREATE_ARMY_AND_PATH';
		// 点击城市, 可能有好几种意思
		// 选择城市, 选择目标
		public static const SELECT_CITY_DISTINATION:String = 'SC_SELECT_CITY_DISTINATION';
		// 选择部队作为目标
		public static const SELECT_ARMY_DISTINATION:String = 'SC_SELECT_ARMY_DISTINATION';
		// 关闭窗口, 取消
		public static const CANCEL_WINDOW:String = 'SC_CANCEL_WINDOW';
		public static const OK_WINDOW:String = 'SC_OK_WINDOW';
		
		/**
		 * 部队类型, 跟服务器端统一
		 */
		public static const ARMY_TYPE_CITY:int = 0; // 攻城部队, 或者回城
		public static const ARMY_TYPE_ARMY:int = 1; // 决战部队
	}

}

